import type { RegistryItem } from "@dotui/registry/types";

const colorPickerMeta = {
  name: "color-picker",
  type: "registry:ui",
  variants: {
    basic: {
      files: [
        {
          type: "registry:ui",
          path: "ui/color-picker/basic.tsx",
          target: "ui/color-picker.tsx",
        },
      ],
      registryDependencies: [
        "button",
        "color-area",
        "color-field",
        "color-slider",
        "color-swatch",
        "dialog",
        "select",
      ],
    },
  },
} satisfies RegistryItem;

export default colorPickerMeta;
export const colorPickerVariants = Object.keys(
  colorPickerMeta.variants,
) as (keyof typeof colorPickerMeta.variants)[];
